<?php
namespace Vido\Model;
use Think\Model;
class AddModel extends Model{
   protected $_validate = array(
     array('title','require','必须输入标题！',1), //默认情况下用正则进行验证
   );
}